package com.wanyangproject.androidlearning.designMode.decorator;

public class Derector implements Drink {

    private Drink drink;

    public Derector(Drink drink) {
        this.drink = drink;
    }

    @Override
    public String getName() {
        return drink.getName();
    }

    @Override
    public float getPrice() {
        return drink.getPrice();
    }
}
